SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 55934: An IO error and an IPC_CORRUPTED_DATA error might occur when logging out of SAS® Merchandise Allocation

DetailsAboutRate It

In SAS® Merchandise Allocation, the following exception might occur when logging out of the application:

An IO error occurred Details: java.io.StreamCorruptedException: invalid stream header: 0D0A0D0A

In addition, the following error might be generated in the server log file:

Error code="IPC_CORRUPTED_DATA" userMessage="The data received from the cube was corrupted."

The errors are generated because Apache is not tuned with SAS Merchandise Allocation specific tuning and memory settings to help prevent request time-out.

The workaround for this issue is to set the tuning and memory settings specified below:

Tuning Values to Specify in the SAS® Web Server (apache) Configuration sas-ma.conf File


  • Timeout 36000
  • KeepAlive On
  • MaxKeepAliveRequests 100
  • KeepAliveTimeout 300

Memory Setting to Specify in the setenv Script in the tcserver/bin Directory


  • set JVM_OPTS=-Xmx2048M -Xss256K

Memory Setting to Specify in the startSMPS Script in the meserver Directory


  • set SERVER_MEM_ARGS=-Xmx128M
  • set PROC_MEM_ARGS=-Xmx512M


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Merchandise Allocation64-bit Enabled AIX3.5_M13.5_M19.4 TS1M29.4 TS1M2
Linux for x643.5_M13.5_M19.4 TS1M29.4 TS1M2
Microsoft Windows Server 2008 R23.5_M13.5_M19.4 TS1M29.4 TS1M2
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.